import Vue from "vue"
import Vuex from 'vuex'
import getters from './getters'
import user from './modules/user'
import areaConfig from './modules/areaConfig'

Vue.use(Vuex)

const store = new Vuex.Store({
	modules: {
		user,
		areaConfig,
	},
	getters
})

export default store